package com.molyfun.parents.rest.bean;

import com.molyfun.parents.rest.BaseResponse;

import java.util.List;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:10/21/16.
 */
public class GetProductTypeResponse extends BaseResponse{

    private List<ProductType> data;

    public List<ProductType> getData(){
        return data;
    }

    public static class ProductType{

        /**
         * id : 4028b8815aca649d015acac035d500a3
         * name : 类似意图片
         * createdatetime : 1489460279000
         */

        public ProductType(String id, String name){
            this.id = id;
            this.name = name;
        }

        private String id;
        private String name;
        private long createdatetime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getCreatedatetime() {
            return createdatetime;
        }

        public void setCreatedatetime(long createdatetime) {
            this.createdatetime = createdatetime;
        }
    }
}